// console.log("hello world kerwin")
import React from "react";
import ReactDOM from "react-dom";
import App from "./08-mobile-antd/app";
// react-redux要用要给用的外层套一个Provider 必须接收一个store属性
import { Provider } from "react-redux";
import { store, persistor } from "./08-mobile-antd/redux/store";
import { PersistGate } from "redux-persist/integration/react";
// 用持久化的进行包裹
ReactDOM.render(
  // <React.StrictMode>
  <Provider store={store}>
    <PersistGate loading={null} persistor={persistor}>
      <App />
    </PersistGate>
  </Provider>,

  /* </React.StrictMode> */
  document.getElementById("root23")
);

// ReactDOM.render(React.createElement("div",{
//     id:"aaa",
//     class:"bbb"
// },"111111111"),document.getElementById("root"))

/*
 jsx == js+xml
*/
